namespace ApplicationControllerExample.Model.Commands
{
    using Core;
    using Services;

    public class SomeCommand : ICommand<SomeCommandData>
    {
        public SomeCommand(ISomeWorkflowService workflowService)
        {
            WorkflowService = workflowService;
        }

        private ISomeWorkflowService WorkflowService { get; set; }

        #region ICommand<SomeCommandData> Members

        public void Execute(SomeCommandData commandData)
        {
            WorkflowService.Run();
        }

        #endregion
    }
}